<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Number')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-number" data-rule="required" class="form-control" name="row[number]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('State')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="stateList" item="vo"}
            <label for="row[state]-{$key}"><input id="row[state]-{$key}" name="row[state]" type="radio" value="{$key}" {in name="key" value="1"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('技能1')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-devicetype1_id" data-rule="required" data-source="aps/devicetype/index" class="form-control selectpage" name="row[devicetype1_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('技能2')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-devicetype2_id" data-rule="required" data-source="aps/devicetype/index" class="form-control selectpage" name="row[devicetype2_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('技能3')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-devicetype3_id" data-rule="required" data-source="aps/devicetype/index" class="form-control selectpage" name="row[devicetype3_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('技能4')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-devicetype4_id" data-rule="required" data-source="aps/devicetype/index" class="form-control selectpage" name="row[devicetype4_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('技能5')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-devicetype5_id" data-rule="required" data-source="aps/devicetype/index" class="form-control selectpage" name="row[devicetype5_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('技能6')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-devicetype6_id" data-rule="required" data-source="aps/devicetype/index" class="form-control selectpage" name="row[devicetype6_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('技能7')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-devicetype7_id" data-rule="required" data-source="aps/devicetype/index" class="form-control selectpage" name="row[devicetype7_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('技能8')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-devicetype8_id" data-rule="required" data-source="aps/devicetype/index" class="form-control selectpage" name="row[devicetype8_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('技能9')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-devicetype9_id" data-rule="required" data-source="aps/devicetype/index" class="form-control selectpage" name="row[devicetype9_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('技能10')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-devicetype10_id" data-rule="required" data-source="aps/devicetype/index" class="form-control selectpage" name="row[devicetype10_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('技能11')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-devicetype11_id" data-rule="required" data-source="aps/devicetype/index" class="form-control selectpage" name="row[devicetype11_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('技能12')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-devicetype12_id" data-rule="required" data-source="aps/devicetype/index" class="form-control selectpage" name="row[devicetype12_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <!--<button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>-->
        </div>
    </div>
</form>
